const express = require("express");
const app = express();
const bodyParser = require("body-parser");
const auth = require("./auth")
const debug = require('debug')("my-application")

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: true
}));
app.use("/api", auth);
app.use('/static',express.static('common'))

app.listen(5000, () => {
    debug(5000)
})